package org.brownflat.fxdate.service;

import org.brownflat.fxdate.model.Currency;
import org.brownflat.fxdate.model.CurrencyPair;
import org.brownflat.fxdate.model.Holiday;
import org.brownflat.fxdate.model.SettlementDate;
import org.joda.time.LocalDate;

import java.util.List;

/**
 * <p>&copy Rupert Jones 2012</p>
 *
 * @author rup
 */
public interface DateService {
    List<Holiday> findHolidaysFor(Currency currency, LocalDate start, LocalDate end);
    List<SettlementDate> findSpotSettlementDatesFor(CurrencyPair pair, LocalDate start, LocalDate end);
}
